package com.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wty
 * @since 2021-11-29
 */
@Data
@Accessors(chain = true)
@TableName("shares_gn")
public class SharesGn extends Model<SharesGn> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("ssgn_id")
    private Integer ssgnId;
    @TableField("shares_name")
    private String sharesName;
    @TableField("shares_code")
    private String sharesCode;
    @TableField("ssgn_name")
    private String ssgnName;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
